package com.zsrt.java.ch04;


/**
 * 模拟二叉树 BTree
 * @author zsrt
 *
 */
public class Node {
	
	
	private int data;
	
	private Node leftChildNode;
	private Node rightChildNode;
	
	
	public Node(){}

	public Node(int data) {
		super();
		this.data = data;
	}

	public int getData() {
		return data;
	}

	public void setData(int data) {
		this.data = data;
	}

	public Node getLeftChildNode() {
		return leftChildNode;
	}

	public void setLeftChildNode(Node leftChildNode) {
		this.leftChildNode = leftChildNode;
	}

	public Node getRightChildNode() {
		return rightChildNode;
	}

	public void setRightChildNode(Node rightChildNode) {
		this.rightChildNode = rightChildNode;
	}
	
	
	

}
